<template>
    <div class="wx-show-menu"></div>
</template>
<!--<script v-lazy="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>-->
<script>
    import XWxConfig from '../../x/XWxConfig'

    let wx = require('weixin-js-sdk');
    export default {
        name: "wx-show-menu",
        created() {
            this.init();
        },
        methods: {
            init: function () {
                // wx.showOptionMenu();
                // let wxConfig = XWxConfig.getConfig();
                // if (wxConfig) {
                    wx.showOptionMenu();
                // }
            }
        }
    }
</script>

<style scoped>

</style>
